'use strict';

const Controller = require('egg').Controller;

class LectureController extends Controller {
  async index() {
    this.ctx.status = 410;
  }
  async show() {
    const { ctx, service } = this;
    const res = await service.class.getOneClass(ctx.params.id);
    ctx.body = res;
  }
}

module.exports = LectureController;
